<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>『豪情』后台管理</title>
    <link rel="stylesheet" type="text/css" href="/myhouse/static/manager/css/common.css"/>
    <link rel="stylesheet" type="text/css" href="/myhouse/static/manager/css/main.css"/>
    <script type="text/javascript" src="/myhouse/static/manager/js/libs/modernizr.min.js"></script>
    <script type="text/javascript" src="/myhouse/static/manager/js/jquery-3.2.1.min.js"></script>
</head>
<body>
<jsp:include page="/inc/managerHead.jsp"></jsp:include>
<div class="container clearfix">
    <jsp:include page="/inc/managerLeft.jsp"></jsp:include>
    <!--/sidebar-->
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/myhouse/manager/index">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">系统设置</span></div>
        </div>
        <div class="result-wrap">
            <div class="config-items">
                <div class="config-title">
                    <h1><i class="icon-font">&#xe00a;</i>用户反馈</h1>
                </div>
                <div class="result-content">
                    <table width="100%" class="insert-tab">
                        <tbody>
                            <tr>
                                <th><i class="require-red">*</i>中介姓名：</th>
                                <td><input type="text" value="${requestScope.feedBack.mediator.mediatorName}" size="85"  class="common-text" disabled></td>
                            </tr>
                        <tr>
                            <th><i class="require-red">*</i>反馈内容：</th>
                            <td>
                                <div>
                                    ${requestScope.feedBack.feedBack}
                                </div>
                            </td>
                        </tr>
                        </tbody></table>
                </div>
            </div>
            <div class="config-items">
                <div class="config-title">
                    <h1><i class="icon-font">&#xe014;</i>管理员处理</h1>
                </div>
                <form action="/myhouse/manager/replyMediator" method="post" id="myform" >
                    <input type="hidden" value="${requestScope.feedBack.id}" name="id">
                    <div class="result-content">
                        <table width="100%" class="insert-tab">
                            <tr>
                                <th width="15%"><i class="require-red">*</i>管理员回复：</th>
                                <td><textarea style="width: 90%; height: 300px; resize: none; font-size: 20px" id="hf" name="reply" >
                                    ${requestScope.feedBack.reply}
                                </textarea></td>
                            </tr>
                            <tr>
                                <td colspan="2" style="text-align: center">
                                    <input type="submit" value="提交" class="btn btn-primary btn6 mr10">
                                    <input type="button" value="返回" class="btn btn6" id="fh">
                                </td>
                            </tr>
                        </table>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <script type="text/javascript">
        $(function (){
            $("#hf").val($("#hf").val().replace(/\s+/g,''));
            $("#fh").click(function (){
                location.href = "/myhouse/manager/mediatorFeedBack";
            });
            $("#myform").submit(function (){
                if ($("#hf").val() != ""){
                    return true;
                }else {
                    return false;
                }
            });
        });
    </script>
    <!--/main-->
</div>
</body>
</html>